Elex\RequestAQuote\FormSetting\FormSettingController D

Total Complexity 158
Dependencies 2
Dependents 6
Total lines 690
Lines of code 493
Logical lines of code 273
Comment lines 15
Methods 28
Properties 2

Methods 28

Method Rating Maintainability Complexity Lines of code
elex_raq_form_edit_field()
C
38 24 64
elex_raq_add_field()
B
38 23 64
form_submit()
A
46 12 37
elex_raq_save_form_settings_data()
A
47 11 32
elex_raq_add_new_field()
A
55 9 16
elex_raq_edit_field()
A
57 9 14
save_form_settings()
S
57 8 14
elex_raq_toggle_field()
S
50 5 29
rearrange_field()
S
53 5 22
clean_up_special_char()
S
55 5 20
strip_slashes_from_field()
S
58 5 14
build_form_for_new_fields()
S
52 4 26
build_form()
S
53 4 24
get_active_tab()
S
66 5 7
check_if_field_name_exist()
S
63 5 10
check_radio_checkbox_values()
S
62 4 11
elex_raq_delete_field()
S
53 3 23
get_settings()
S
64 4 9
get_form()
S
66 4 8
init()
S
61 1 12
save_form()
S
80 1 3
converToArray()
S
80 1 3
save_form_data()
S
63 1 10
load_formsettings()
S
75 1 4
get_custom_fields_count()
S
71 1 6
get_default_tab()
S
79 1 3
get_stored_field()
S
71 1 6
set_default_field_count()
S
89 1 2